<?php use_javascripts_for_form($filtro) ?> 
<form action="<?php echo url_for('lote/filter')?>" method="post">
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          <input type="submit" value="Filtrar" />
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $filtro ?>
    </tbody>
  </table>
</form>
